/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jeudelavie;

import Simulation.Simulateur;
import java.util.logging.Level;
import java.util.logging.Logger;
import model.Environnement;
import view.Graphique;

/**
 * @author epulapp
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    protected static Environnement env;
    
    public static void main(String[] args) throws InterruptedException {
        
        env = new Environnement(30,30);
        Simulateur sim = new Simulateur(env);
        Graphique fen = new Graphique(env,sim);
        fen.setVisible(true);
        env.addObserver(fen);
        Thread.sleep(100);
        sim.start();
                 
    }
}
